package fb.test.login;

import com.restfb.DefaultFacebookClient;

public class LoggedIn extends DefaultFacebookClient {

	/**
	 * The access token
	 */
	private String accessToken = null;

	public String getAccessToken() {
		return accessToken;
	}

	public LoggedIn(String appId, String appSecret) {
		AccessToken token = this.obtainAppAccessToken(appId, appSecret);
		this.accessToken = token.getAccessToken();
	}
}
